<template>
    <div class="center">
        <!-- 插槽 -->
        <slot></slot>
    </div>
</template>

<script>
    export default {
        name: "Centre"
    }
</script>

<style scoped>
    .center {
        /*display: flex;*/
        /*justify-content: center;*/
        /*align-items: center;*/
        position: fixed;
        z-index: 200;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
</style>
